﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace GameCode.Models.Admin
{
    [Serializable]
    public class DeviceReportModel:BaseModel
    {
        public bool IsExport { get; set; }
        public List<string> CycleList { get; set; }
        [Display(Name = "周期：")]
        public string Cycle { get; set; }

        [Display(Name = "开始日期：")]
        public DateTime StartDate { get; set; }
        [Display(Name = "结束日期：")]
        public DateTime EndDate { get; set; }

        public List<DeviceReportItem> List { get; set; }
    }

    [Serializable]
    public class DeviceReportItem 
    {
        public string 日期 { get; set; }
        public int 新增安卓机 { get; set; }
        public int 新增苹果机 { get; set; }
        public int 活跃安卓机 { get; set; }
        public int 活跃苹果机 { get; set; }
    }
}